package com.base.service.CZB.Impl;

import com.base.mapper.czbmapper.GasMapper;
import com.base.po.czb_sdk.Gas;
import com.base.po.czb_sdk.GasExample;
import com.base.service.CZB.GasService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("GasService")
public class GasServiceImpl implements GasService {
    @Autowired
    GasMapper gasMapper;
    @Override
    public int countByExample(GasExample example) {
        return gasMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(GasExample example) {
        return gasMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String gasid) {
        return gasMapper.deleteByPrimaryKey(gasid);
    }

    @Override
    public int insert(Gas record) {
        return gasMapper.insert(record);
    }

    @Override
    public int insertSelective(Gas record) {
        return gasMapper.insertSelective(record);
    }

    @Override
    public List<Gas> selectByExample(GasExample example) {
        return gasMapper.selectByExample(example);
    }

    @Override
    public Gas selectByPrimaryKey(String gasid) {
        return gasMapper.selectByPrimaryKey(gasid);
    }

    @Override
    public int updateByExampleSelective(Gas record, GasExample example) {
        return gasMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(Gas record, GasExample example) {
        return gasMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(Gas record) {
        return gasMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Gas record) {
        return gasMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Gas> selectAllJingWei() {
        return gasMapper.selectAllJingWei();
    }

    @Override
    public List<Gas> selectAll() {
        return gasMapper.selectAll();
    }
}
